package com.ybchen.rpc;

import com.ybchen.annotation.MyFeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@MyFeignClient(name = "helloClient", url = "http://localhost:8080/hello")
public interface HelloClient {
    @GetMapping("/sayHi2")
    String sayHi(String name);
}